<template>
  <div >
      <h2>学校名称：{{name | myslices}}</h2>
      <h2>地址：{{address}}</h2>
      <button @click="show">点我提示你好</button>
  </div>
</template>

<script>

    export default {
        name:'School',
        data() {
            return {
                name:'尚硅谷wrqet',
                address:'西安'
            }
        },
        methods:{
            show(){
                this.hello()
            }
        }

    }
</script>

<style>
